home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-04-15 | 7.3 KB | 243 lines |
- #------------------------------------------------
- # This is where most of the configuration parameters are defined
- # also see conf.h
- #
-
- #********************************************************************
- # lindner
- # 3.3
- # 1993/04/15 22:02:32
- # /home/mudhoney/GopherSrc/CVS/gopher+/Makefile.config.dist,v
- # Exp
- #
- # Paul Lindner, University of Minnesota CIS.
- #
- # Copyright 1991, 1992 by the Regents of the University of Minnesota
- # see the file "Copyright" in the distribution for conditions of use.
- #********************************************************************
- # MODULE: Makefile.config.dist
- # Parameters for the gopher distribution
- #*********************************************************************
- # Revision History:
- # Makefile.config.dist,v
- # Revision 3.3 1993/04/15 22:02:32 lindner
- # CLIENTOPTS added
- #
- # Revision 3.2 1993/03/19 19:41:46 lindner
- # updates for sco
- #
- # Revision 3.1.1.1 1993/02/11 18:02:49 lindner
- # Gopher+1.2beta release
- #
- # Revision 1.7 1993/02/09 21:34:03 lindner
- # New MAN5DIR line, changed install to install -c
- #
- # Revision 1.6 1993/01/19 04:52:22 lindner
- # Renamed Makefile.config to Makefile.config.dist
- #
- # Revision 1.5 1993/01/13 16:19:58 lindner
- # Changes for SVR4 (add -lnsl to libs line..)
- #
- # Revision 1.4 1992/12/28 21:45:48 lindner
- # Removed trailing slash on CLIENTLIB
- #
- # Revision 1.3 1992/12/21 20:38:05 lindner
- # Added warning about -DBIO (from dgg)
- #
- # Revision 1.2 1992/12/13 06:10:26 lindner
- # Fixed SVR4LIBS line (didn't need bsd stuff anymore) also removed HPLIBS
- #
- # Revision 1.1 1992/12/10 22:57:05 lindner
- # Initial revision
- #
- #
- #********************************************************************/
-
-
-
-
-
- #------------------------------------------------
- # Your favorite C compiler
- #
- # Note that sun international users should use /usr/5bin/cc instead of cc
- #
- # Sco's cc compiler gives lots of problems that gcc will fix, and gcc
- # is now reasonably easy to get running under SCO. Using this removes
- # the need for -UM_XENIX -DSCO_UNIX as used for gopher1.1
- # note that if you use gcc, you'll also need -lintl in SCOLIBS
- #
-
- CC = cc
-
- #------------------------------------------------
- # Optimization level.
- #
-
- OPT=-g
- #OPT=-O
-
- #------------------------------------------------
- # System Selection, note that you won't have to edit
- # unless you have compilation problems.
- #
- # Add -DUSG for System V
- # -DBSD for BSD
- # -DPOSIXWAIT if you have waitpid() instead of wait3()
-
- GSYSTYPE=
-
- #------------------------------------------------
- # The ranlib command on your system. A/UX (and probably other sysv's
- # should change this to "touch"
- # Known to need changing on: A/UX, SCO3.2.4, IRIX
-
- RANLIB = ranlib
-
- #------------------------------------------------
- # The install command on your system. OSF/1 should change this
- # to installbsd
- #
- # SCO ODT systems should change this to bsdinst
- # other SCO systems can duplicate this functionality easily
- # dont use SCO's "install" program it behaves totally differently
- # IBM AIX systems should change this to /usr/ucb/install
- #
-
- INSTALL = install -c
-
- #-------------------------------------------------
- # Where shall we install stuff?
- #
- PREFIX = /usr/local
- CLIENTDIR = $(PREFIX)/bin
- CLIENTLIB = $(PREFIX)/lib
- SERVERDIR = $(PREFIX)/etc
- # On SCO manuals are in /usr/man but its easiest to do a
- # symbolic link from /usr/local/man to /usr/man for this and other packages
- MAN1DIR = $(PREFIX)/man/man1
- MAN5DIR = $(PREFIX)/man/man5
- MAN8DIR = $(PREFIX)/man/man8
-
-
- #-----------------------------------------------------------------
- # Optional server features.
- #
- # Add -DLOADRESTRICT if you want to restrict access based on load avg.
- # (Note you'll need to add -lkvm in SERVERLIBS) Note also that this has
- # only been tested under SunOS 4.1.1
- #
- # Add -DBIO if you're using the biology portion of Don Gilbert's modified
- # wais8b5 that supports boolean and phrase searching.
- # PLEASE NOTE: the -DBIO option is NOT needed nor recommended for use
- # of the boolean and phrase searching portion of this modified wais,
- # just the symbol searching. But, you must compile wais and gopher with
- # the same option setting (-DBIO or NOT).
- # The source can be gotten from:
- #
- # ftp.bio.indiana.edu
- #
- # Add -DDL and define DLPATH and DLOBJS if you want to include support
- # for Tim Cook's 'dl' databases You will also have to have a
- # working copy the program with source code in the DLPATH
- # directory. The files getdesc.o and enddesc.o must be there.
- # Source for dl can be gotten from:
- #
- # admin.viccol.edu.au
- # pub/dl/describe-1.8.tar.Z or higher...
- #
- #
- # Add -DUMNDES if you'd like to try out the Admit1 protocol extension
- #
- # Add -DCAPFILES if you want compatibility with the older .cap directory
- #
-
- SERVEROPTS = #-DUMNDES -DBIO #-DDL # -DLOADRESTRICT
- DLPATH = /home/mudhoney/lindner/src/describe
- #DLOBJS = $(DLPATH)/getdesc.o $(DLPATH)/enddesc.o
-
- #-----------------------------------------------------------------
- # Optional client features.
- #
- # Add -DREMOTEUSER if you want to support the -r option on remotely connected
- # users.
- #
- # Add -DNOMAIL if you don't want remote users mailing documents
- #
-
- CLIENTOPTS = #-DNOMAIL -DREMOTEUSER
-
-
- #--------------------------------------------------
- # Libraries for clients and servers
- # Ultrix needs -lcursesX instead of -lcurses
- #
- #--------------------------------------------------
- # Libraries... Uncomment out SEQLIBS if compiling on sequent Dynix,
- # " " PTXLIBS if compiling on sequent Dynix/ptx,
- # " " UMAXLIBS if compiling under UMAX,
- # " " SCOLIBS if compiling under SCO Unix.
- #
- #
- # Note: SCOLIBS needs -lintl if using gcc to compile in order to find strftime
- #
- #UMAXLIBS = -lresolv
- #LOADLIBS = -lkvm
- #SEQLIBS = -lseq
- #PTXLIBS = -lseq -lsocket -linet -lnsl
- #SCOLIBS = -lsocket -lintl
- #SVR4LIBS = -lsocket -lnsl
-
- OTHERLIBS = $(HPLIBS) $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
- $(SVR4LIBS)
-
- CLIENTLIBS = -lcurses -ltermcap -lgopher $(OTHERLIBS)
- SERVERLIBS = -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
-
-
- #-----------------------------------------------------------------
- # If your hostname command returns the Fully Qualified Domain Name
- # (i.e. it looks like foo.bar.edu and not just foo) then make
- # the domain name a null string. Otherwise put in the rest of
- # your domain name that `hostname` doesn't return.
- # Set to Null on SCO3.2.4
-
- DOMAIN = .micro.umn.edu
-
-
- #-----------------------------------------------------------------
- # SERVERDIR is the default directory for gopherd. It can be
- # overridden on the command line
- #
- # SERVERPORT is the default port for gopherd. It too can be
- # overridden on the command line.
- #
-
- SERVERDATA = /home/mudhoney/gopher-data
- SERVERPORT = 70
-
-
-
- #-----------------------------------------------------------------
- # Compatibility defines
- #
- # If you don't have the strstr() function call then add -DNOSTRSTR
- #
- # Most of these are automatically defined via the built in compiler
- # definitions. Don't worry about them unless you have problems
- #
-
- COMPAT = # -DNOSTRSTR # -DNO_STRDUP # -DNO_BZERO # -DNO_TMPNAM
-
-
- #-----------------------------------------------------------------
- # Stuff that follows shouldn't be changed
- #
-
- OBJINCLUDES = -I../object
- OTHERINCLUDES = -I.. -I../ir -I../ui
- INCLUDES = $(OBJINCLUDES) $(OTHERINCLUDES)
-
- LDFLAGS = -L../object
- SHELL = /bin/sh
-